|
||
|
||
No results could be found matching the exact term // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name);. | ||
Consider searching for the individual words , Prompt, user, for, a, string, No, declaration, needed, for, x, becomes, a, global, variable, x, ask, Enter, a, String, Use, operator, to, concatenate, strings, Memory, management, for, string, temporaries, is, automatic, The, message, function, displays, a, Windows, message, box, message, You, entered, x, Now, x, will, take, on, a, different, type, The, ask, number, function, will, return, a, real, if, the, user, s, input, contains, a, decimal, point, or, an, int, if, no, decimal, point, x, ask, number, Enter, a, Number, The, operator, with, a, string, operand, will, automatically, convert, the, other, operand, to, a, string, message, You, entered, x, Prompt, user, for, a, Liana, expression, Store, it, in, a, local, variable, the, type, string, is, merely, for, documentation, string, expr, ask, Enter, an, Expression, Evaluate, the, expression, The, return, value, of, eval, could, be, any, type, The, source, format, member, function, converts, any, value, to, its, source, format, e, g, add, quotes, for, a, string, The, class, name, member, function, return, the, name, of, the, class, of, an, object, value, Empty, parens, can, be, left, off, for, member, function, calls, x, eval, expr, message, The, value, of, expr, is, x, source, format, its, type, is, x, class, or name. | ||
Common Misspellings > | ||
// Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); /// Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); /// Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); / Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); /// Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); / /Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // /Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); / Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); /// Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); //P rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); //Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // rPompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // PrPompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // PPrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pormpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prormpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prmopt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promopt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Proompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Propmt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompmt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Propt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prommpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promtp user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptp user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promppt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp tuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt tuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptu ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt u ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt suer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usuer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uesr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usesr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usre for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usere for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt useer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use rfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user rfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userf or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user ofr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fofr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user ffor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fro a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user foro a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user foor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo ra string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for ra string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user forr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fora string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fora string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for astring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a astring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for aa string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for as tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for astring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a tsring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stsring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a srting. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strting. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sttring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stirng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strirng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sting. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strnig. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinig. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a striing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strign. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringn. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strig. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strin.g // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string.g // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strin. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string .// No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. .// No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string.. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string./ / No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. / / No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string.// No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. /// No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. / No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. /// No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. / /No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // /No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. / No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. /// No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. //N o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. //No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // oN declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // NoN declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // NNo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N odeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No odeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Noo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nod eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nodeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No edclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dedclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No ddeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dcelaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decelaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No deeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No delcaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declcaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No delaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decalration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declalration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decllaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declraation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaartion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarartion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declartaion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarataion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declartion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraiton needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiton needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarattion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratoin needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioin needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraton needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratino needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationo needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratin needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio nneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationn eeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n eeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration eneded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neneded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration eeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nedeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeedd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needde for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needede for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede dfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed dfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededf or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed ofr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fofr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed ffor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fro "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed foro "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed foor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo r"x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for r"x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed forr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for" x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for " x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for"x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for x"" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x"" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for ""x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for ""x (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x"x (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "xx" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x "(becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" "(becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x"" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x"( becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" ( becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x"(becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" b(ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b(ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" ((becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (ebcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bebcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bbecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bceomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beceomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beocmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becocmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beccomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becmoes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomoes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becoomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becoems a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomems a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becoes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becommes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomse a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomese a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becoms a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomees a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become sa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes sa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomess a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes aglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a aglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes aa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes ag lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a g lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes aglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a lgobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glgobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a golbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glolbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gllobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glboal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globoal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gloobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gloabl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globabl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gloal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globla variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globala variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globaal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa lvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global lvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globall variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globalv ariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global v ariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globalvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global avriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vavriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global ariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vraiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varaiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vaariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vairable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varirable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vaiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varaible.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variaible.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varibale.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabale.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varible.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variaable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varialbe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablbe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variale.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabel.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablel.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl.e) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.e) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablee.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable). x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.). x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable..) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable. )x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) )x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable. x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.)) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.)x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.)x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x= ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x x= ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) xx = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x= ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x= ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x =ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = =ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x == ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x =a sk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = a sk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x =ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = sak ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asak ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = sk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aks ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asks ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ak ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = assk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as k("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask k("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = askk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask( "Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ( "Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask "(Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("(Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask "Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask (("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask (E"nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("E"nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask (Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask (""Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("nEter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("EnEter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("EEnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Etner a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entner a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Eter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ennter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enetr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entetr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ener a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entre a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entere a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enteer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente ra String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter ra String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enterr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entera String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entera String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter aString"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a aString"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter aa String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter aS tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter aString"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a tSring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a StSring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a SString"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Srting"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strting"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sttring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stirng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strirng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sting"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strnig"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinig"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Striing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strign"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringn"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strig"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strin"g); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"g); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strin"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String)"; // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String")"; // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String""); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String";) // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String");) // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"; // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String")); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String") ;// Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); ;// Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String") // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String");; // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String");/ / Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); / / Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String");// Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); /// Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); / Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); /// Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); / /Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // /Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); / Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); /// Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); //U se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // U se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); //Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // sUe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // UsUe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // UUse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Ues "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uses "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Ue "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us e"+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use e"+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usee "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use" +" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use " +" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use"+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use +"" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+"" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use +" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use ""+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use ""+ operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+"+ operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "++" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+ "operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" "operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+ operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+"" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+"o perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+"operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" poerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opoerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ooperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oeprator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opeprator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opreator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opereator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oprator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opeerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opeartor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operartor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opeator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opertaor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operataor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opertor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaotr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatotr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operattor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatro to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatoro to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatoor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato rto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator rto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatorr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatort o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatorto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator ot concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tot concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t oconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to oconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator too concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator toc oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator toconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to ocncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cocncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cnocatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conocatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cooncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cocnatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concnatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cocatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conactenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concactenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conccatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conctaenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concataenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conctenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaetnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatetnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concattenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatneate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concateneate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concateenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concateante strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenante strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concateate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatennate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatentae strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatae strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatente strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenaate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenaet strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatet strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenae strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat estrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate estrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatee strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenates trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatestrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate tsrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stsrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate srtings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strtings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate srings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sttrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stirngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strirngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strnigs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinigs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate striings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strigns. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringns. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strigs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinsg. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsg. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strins. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate string.s Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.s Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate string. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringss. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings .Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. .Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.M emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. eMmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. MeMmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. MMemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mmeory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memeory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Meemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Meomry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memomry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Meory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memroy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoroy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoyr // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryr // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor y// management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory y// management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory/ / management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory / / management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory// management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory /// management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory / management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory /// management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory / /management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // /management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory / management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory /// management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory //m anagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // m anagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory //management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // amnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mamnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // anagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mmanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mnaagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // maanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // maangement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manangement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // maagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mannagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mangaement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managaement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mangement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaegment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managegment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managmeent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemeent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manageement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manageemnt for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managememnt for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manageent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemnet for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemenet for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemnt for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemeent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemetn for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managementn for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemet for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemennt for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemen tfor string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management tfor string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemen for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managementt for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managementf or string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management f or string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managementfor string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management ofr string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management fofr string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management or string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management ffor string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management fro string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management foro string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management fr string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management foor string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management fo rstring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for rstring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management fo string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management forr string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management fors tring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for s tring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management forstring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for tsring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for stsring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for tring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for sstring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for srting temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strting temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for sring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for sttring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for stirng temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strirng temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for sting temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strring temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strnig temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strinig temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strng temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for striing temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strign temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for stringn temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strig temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strinng temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strin gtemporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string gtemporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for strin temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for stringg temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for stringt emporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string t emporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for stringtemporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string etmporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tetmporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string emporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string ttemporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tmeporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temeporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tmporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string teemporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tepmoraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempmoraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string teporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temmporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temopraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempopraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temoraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temproaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporoaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempooraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempoarries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string tempoaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporraries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporraies is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaraies is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaires is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarires is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaies is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporareis is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarieis is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporares is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporariies is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarise is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporariese is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaris is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporariees is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarie sis automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries sis automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporarie is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporariess is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporariesi s automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries i s automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporariesis automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries si automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries isi automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries s automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries iis automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries i sautomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is sautomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries i automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries iss automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries isa utomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is a utomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries isautomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is uatomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is auatomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is utomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is aautomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is atuomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autuomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is atomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is auutomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is auotmatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autotmatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is auomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is auttomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autmoatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automoatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autmatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autoomatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autoamtic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automamtic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autoatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is autommatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automtaic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automataic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automtic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automaatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automaitc. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatitc. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automaic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automattic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatci. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatici. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatc. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatiic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automati.c The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic.c The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automati. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automaticc. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic .The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. .The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic.. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic.T he // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. T he // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic.The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. hTe // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. ThTe // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. he // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. TThe // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Teh // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Theh // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Te // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Thhe // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Th e// "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The e// "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Th // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. Thee // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The/ / "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The / / "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The// "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The /// "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The / "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The /// "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The / /"message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // /"message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The / "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The /// "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The //" message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // " message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The //"message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // m"essage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "m"essage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // ""message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "emssage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "memssage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "essage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "mmessage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "msesage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "mesesage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "mssage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "meessage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messsage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "mesage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messsage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "mesasge" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messasge" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "mesage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messsage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messgae" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messagae" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messge" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messaage" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messaeg" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messageg" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messae" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messagge" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messag"e function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message"e function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messag" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "messagee" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message "function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" "function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message"" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message"f unction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" f unction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message"function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" ufnction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" fufnction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" unction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" ffunction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" fnuction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funuction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" fnction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" fuunction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" fucntion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funcntion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" fuction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funnction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funtcion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functcion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funtion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funcction displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funciton displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functiton displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" funcion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functtion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functoin displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functioin displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functon displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functiion displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functino displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functiono displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functin displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functioon displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functio ndisplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function ndisplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functio displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functionn displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functiond isplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function d isplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" functiondisplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function idsplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function didsplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function isplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function ddisplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dsiplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function disiplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dsplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function diisplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dipslays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dispslays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function diplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dissplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dislpays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displpays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dislays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dispplays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dispalys a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displalys a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function dispays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displlays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displyas a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displayas a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displys a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displaays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displasy a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displaysy a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displas a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displayys a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function display sa Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays sa Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function display a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displayss a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displaysa Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displaysa Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays aWindows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a aWindows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays aa Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays aW indows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a W indows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays aWindows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a iWndows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a WiWndows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a indows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a WWindows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Wnidows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Winidows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Wndows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Wiindows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Widnows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windnows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Widows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Winndows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Winodws message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windodws message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Winows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Winddows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windwos message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windowos message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windws message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windoows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windosw message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windowsw message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windos message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windowws message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Window smessage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows smessage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Window message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windowss message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windowsm essage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows m essage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windowsmessage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows emssage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows memssage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows essage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows mmessage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows msesage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows mesesage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows mssage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows meessage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messsage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows mesage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messsage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows mesasge box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messasge box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows mesage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messsage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messgae box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messagae box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messge box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messaage box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messaeg box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messageg box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messae box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messagge box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messag ebox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message ebox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messag box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messagee box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messageb ox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message b ox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows messagebox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message obx. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message bobx. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message ox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message bbox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message bxo. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message boxo. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message bx. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message boox. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message bo.x message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box.x message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message bo. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message boxx. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box .message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. .message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box.. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box.m essage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. m essage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box.message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. emssage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. memssage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. essage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. mmessage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. msesage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. mesesage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. mssage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. meessage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messsage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. mesage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messsage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. mesasge ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messasge ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. mesage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messsage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messgae ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messagae ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messge ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messaage ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messaeg ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messageg ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messae ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messagge ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messag e("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message e("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messag ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. messagee ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message( "You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ( "You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message "(You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("(You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message "You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message (("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message (Y"ou entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Y"ou entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message (You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message (""You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("oYu entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("YoYu entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("ou entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("YYou entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Yuo entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Youo entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Yu entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Yoou entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Yo uentered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You uentered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Yo entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Youu entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Youe ntered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You e ntered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("Youentered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You netered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enetered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You ntered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You eentered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You etnered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entnered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You etered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enntered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enetred: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entetred: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enttered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entreed: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entereed: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entred: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enteered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enteerd: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entererd: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enteed: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enterred: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enterde: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enterede: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enterd: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entereed: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entere:d " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered:d " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entere: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You enteredd: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered :" + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: :" + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered:: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered:" + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered:" + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: "+ x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " "+ x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: "" + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: "+ x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: "+ x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " +x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + +x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " ++ x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " +x ); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x ); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " +x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + )x; // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x)x; // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + ); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + xx); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x;) // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x);) // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x; // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x)); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x) ;// Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); ;// Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x) // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x);; // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x);/ / Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); / / Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x);// Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); /// Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); / Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); /// Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); / /Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // /Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); / Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); /// Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); //N ow x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // N ow x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); //Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // oNw x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // NoNw x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // ow x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // NNow x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Nwo x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Nowo x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Nw x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Noow x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // No wx will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now wx will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // No x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Noww x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Nowx will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Nowx will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now xwill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x xwill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now xx will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now xw ill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x w ill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now xwill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x iwll take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wiwll take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x ill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wwill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wlil take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wilil take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wll take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wiill take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x willl take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wil take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x willl take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wil ltake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will ltake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x wil take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x willl take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x willt ake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will t ake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x willtake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will atke on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will tatke on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will ake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will ttake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will tkae on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will takae on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will tke on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will taake on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will taek on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will takek on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will tae on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will takke on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will tak eon a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take eon a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will tak on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will takee on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will takeo n a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take o n a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will takeon a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take no a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take ono a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take n a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take oon a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take o na different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on na different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take o a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take onn a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take ona different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take ona different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on adifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a adifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on aa different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on ad ifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a d ifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on adifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a idfferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a didfferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a ifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a ddifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a dfiferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a dififerent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a dfferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diifferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a difefrent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffefrent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffferent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffreent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differeent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffrent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffeerent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffeernt type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differernt type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a diffeent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differrent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differnet type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differenet type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differnt type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differeent type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differetn type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differentn type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differet type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differennt type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differen ttype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different ttype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differen type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differentt type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differentt ype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different t ype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a differenttype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different ytpe. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different tytpe. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different ype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different ttype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different tpye. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different typye. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different tpe. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different tyype. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different tyep. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different typep. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different tye. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different typpe. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different typ.e The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type.e The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different typ. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different typee. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type .The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. .The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type.. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type.T he "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. T he "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type.The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. hTe "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. ThTe "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. he "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. TThe "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Teh "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Theh "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Te "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Thhe "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Th e"ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The e"ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Th "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. Thee "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The" ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The " ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The"ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The a"sk_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "a"sk_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The ""ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "sak_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "asak_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "sk_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "aask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "aks_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "asks_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ak_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "assk_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "as_knumber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_knumber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "as_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "askk_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "askn_umber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_n_umber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "asknumber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask__number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_unmber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nunmber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_umber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nnumber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nmuber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numuber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nmber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nuumber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nubmer" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbmer" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nuber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_nummber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numebr" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbebr" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numer" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbber" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbre" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbere" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbr" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbeer" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbe"r // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number"r // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numbe" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_numberr" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number "// function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" "// function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number"" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number"/ / function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" / / function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number"// function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" /// function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" / function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" /// function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" / /function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // /function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" / function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" /// function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" //f unction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // f unction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" //function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // ufnction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // fufnction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // unction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // ffunction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // fnuction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funuction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // fnction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // fuunction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // fucntion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funcntion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // fuction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funnction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funtcion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functcion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funtion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funcction will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funciton will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functiton will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // funcion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functtion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functoin will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functioin will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functon will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functiion will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functino will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functiono will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functin will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functioon will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functio nwill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function nwill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functio will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functionn will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functionw ill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function w ill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // functionwill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function iwll return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wiwll return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function ill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wwill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wlil return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wilil return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wll return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wiill return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function willl return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wil return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function willl return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wil lreturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will lreturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function wil return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function willl return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function willr eturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will r eturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function willreturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will erturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will rerturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will eturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will rreturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will rteurn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will reteurn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will rturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will reeturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will reutrn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retutrn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will reurn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retturn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retrun a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will returun a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retrn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retuurn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retunr a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will returnr a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retun a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will returrn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retur na "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return na "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will retur a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will returnn a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will returna "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will returna "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a"real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a a"real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return aa "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a" real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a " real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a"real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a r"eal" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "r"eal" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a ""real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "eral" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "reral" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "eal" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "rreal" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "rael" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "reael" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "ral" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "reeal" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "rela" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "reala" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "rel" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "reaal" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "rea"l if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real"l if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "rea" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "reall" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real "if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" "if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real"" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real"i f the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" i f the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real"if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" fi the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" ifi the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" f the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" iif the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" i fthe user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if fthe user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" i the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" iff the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" ift he user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if t he user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" ifthe user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if hte user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if thte user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if he user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if tthe user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if teh user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if theh user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if te user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if thhe user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if th euser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the euser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if th user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if thee user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if theu ser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the u ser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if theuser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the suer's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the usuer's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the ser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the uuser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the uesr's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the usesr's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the uer's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the usser's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the usre's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the usere's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the usr's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the useer's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the use'rs input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user'rs input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the use's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the userr's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the users' input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's' input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the users input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user''s input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user' sinput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's sinput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user' input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user'ss input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user'si nput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's i nput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user'sinput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's niput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's iniput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's nput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's iinput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's ipnut // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpnut // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's iput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's innput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inupt // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpupt // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inut // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpput // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inptu // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inputu // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpt // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpuut // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpu t// contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input t// contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inpu // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's inputt // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input/ / contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input / / contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input// contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input /// contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input / contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input /// contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input / /contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // /contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input / contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input /// contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input //c ontains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // c ontains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input //contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // ocntains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // cocntains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // ontains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // ccontains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // cnotains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // conotains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // cntains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // coontains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // cotnains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contnains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // cotains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // conntains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // conatins a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contatins a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // conains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // conttains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contians a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contaians a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contins a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contaains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contanis a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // containis a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contans a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contaiins a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contaisn a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // containsn a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contais a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // containns a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contain sa decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains sa decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contain a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // containss a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // containsa decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // containsa decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains adecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a adecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains aa decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains ad ecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a d ecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains adecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a edcimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a dedcimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a ecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a ddecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a dceimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deceimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a dcimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deecimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deicmal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decicmal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deccimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decmial point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimial point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decmal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deciimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deciaml point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimaml point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decial point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimmal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimla point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimala point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a deciml point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimaal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decima lpoint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal lpoint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decima point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimall point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimalp oint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal p oint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimalpoint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal opint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal popint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal oint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal ppoint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal piont or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poiont or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pooint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal ponit or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poinit or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pont or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poiint or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poitn or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pointn or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poit or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poinnt or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poin tor an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point tor an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal poin or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pointt or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pointo r an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point o r an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal pointor an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point ro an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point oro an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point r an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point oor an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point o ran "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or ran "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point o an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point orr an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point ora n "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or a n "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point oran "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or na "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or ana "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or n "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or aan "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or a n"int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an n"int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or a "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or ann "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an" int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an " int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an"int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an i"nt" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "i"nt" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an ""int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "nit" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "init" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "nt" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "iint" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "itn" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "intn" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "it" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "innt" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "in"t if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int"t if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "in" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "intt" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int "if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" "if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int"" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int"i f no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" i f no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int"if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" fi no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" ifi no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" f no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" iif no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" i fno decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if fno decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" i no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" iff no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" ifn o decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if n o decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" ifno decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if on decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if non decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if o decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if nno decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if n odecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no odecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if n decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if noo decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if nod ecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no d ecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if nodecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no edcimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no dedcimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no ecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no ddecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no dceimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deceimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no dcimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deecimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deicmal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decicmal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deccimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decmial // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimial // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decmal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deciimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deciaml // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimaml // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decial // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimmal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimla // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimala // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no deciml // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimaal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decima l// point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal l// point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decima // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimall // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal/ / point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal / / point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal// point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal /// point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal / point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal /// point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal / /point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // /point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal / point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal /// point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal //p oint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // p oint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal //point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // opint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // popint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // oint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // ppoint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // piont. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poiont. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // pint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // pooint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // ponit. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poinit. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // pont. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poiint. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poitn. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // pointn. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poit. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poinnt. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poin.t x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point.t x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // poin. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // pointt. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point .x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. .x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point.. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point.x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point.x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x= ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x x= ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. xx = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x= ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x= ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x =ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = =ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x == ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x =a sk_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = a sk_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x =ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = sak_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = asak_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = sk_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = aask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = aks_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = asks_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ak_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = assk_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = as_knumber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_knumber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = as_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = askk_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = askn_umber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_n_umber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = asknumber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask__number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_unmber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nunmber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_umber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nnumber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nmuber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numuber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nmber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nuumber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nubmer ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbmer ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nuber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_nummber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numebr ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbebr ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numer ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbber ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbre ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbere ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbr ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbeer ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbe r("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number r("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numbe ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_numberr ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number( "Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ( "Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number "(Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("(Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number "Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number (("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number (E"nter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("E"nter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number (Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number (""Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("nEter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("EnEter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("nter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("EEnter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Etner a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entner a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Eter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Ennter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enetr a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entetr a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Ener a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entre a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entere a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entr a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enteer a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Ente ra Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter ra Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Ente a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enterr a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entera Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Entera Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter aNumber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a aNumber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter aa Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter aN umber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a N umber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter aNumber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a uNmber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a NuNmber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a umber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a NNumber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Nmuber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numuber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Nmber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Nuumber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Nubmer"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbmer"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Nuber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Nummber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numebr"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbebr"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numer"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbber"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbre"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbere"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbr"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbeer"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbe"r); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"r); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numbe"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Numberr"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number)"; // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number")"; // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number""); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number";) // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number");) // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"; // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number")); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number") ;// The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); ;// The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number") // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number");; // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number");/ / The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); / / The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number");// The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); /// The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); / The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); /// The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); / /The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // /The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); / The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); /// The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); //T he "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // T he "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); //The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // hTe "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // ThTe "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // he "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // TThe "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Teh "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Theh "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Te "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Thhe "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Th e"+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The e"+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Th "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // Thee "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The" +" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The " +" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The"+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The +"" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+"" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The +" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The ""+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The ""+ operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+"+ operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "++" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+ "operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" "operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+ operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+"" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+"o perator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" o perator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+"operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" poerator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opoerator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" perator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" ooperator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" oeprator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opeprator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" oerator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opperator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opreator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opereator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" oprator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opeerator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opeartor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operartor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opeator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operrator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opertaor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operataor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" opertor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operaator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operaotr with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatotr with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operaor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operattor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatro with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatoro with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatr with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatoor with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operato rwith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator rwith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operato with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatorr with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatorw ith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator w ith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operatorwith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator iwth a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wiwth a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator ith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wwith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wtih a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator witih a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wth a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wiith a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wiht a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator witht a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wih a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator witth a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wit ha string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with ha string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator wit a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator withh a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator witha string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator witha string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with astring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a astring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with aa string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with as tring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a s tring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with astring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a tsring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a stsring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a tring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a sstring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a srting operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strting operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a sring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a sttring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a stirng operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strirng operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a sting operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strring operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strnig operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strinig operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strng operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a striing operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strign operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a stringn operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strig operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strinng operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strin goperand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string goperand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a strin operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a stringg operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a stringo perand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string o perand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a stringoperand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string poerand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opoerand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string perand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string ooperand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string oeprand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opeprand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string oerand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opperand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opreand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opereand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string oprand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opeerand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opearnd will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operarnd will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opeand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operrand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opernad will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operanad will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string opernd will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operaand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operadn will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operandn will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operad will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operannd will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operan dwill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand dwill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operan will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operandd will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operandw ill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand w ill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operandwill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand iwll // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wiwll // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand ill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wwill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wlil // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wilil // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wll // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wiill // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand willl // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wil // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand willl // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wil l// automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will l// automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand wil // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand willl // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will/ / automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will / / automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will// automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will /// automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will / automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will /// automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will / /automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // /automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will / automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will /// automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will //a utomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // a utomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will //automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // uatomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // auatomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // utomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // aautomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // atuomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autuomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // atomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // auutomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // auotmatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autotmatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // auomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // auttomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autmoatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automoatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autmatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autoomatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autoamtically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automamtically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autoatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // autommatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automtaically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automataically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automtically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaitcally convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatitcally convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automattically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatcially convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticially convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatcally convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatiically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatiaclly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticaclly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatially convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticcally convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticlaly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticalaly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticlly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticaally convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticaly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticalyl convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallyl convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticaly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallly convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticall yconvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically yconvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticall convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallyy convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallyc onvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically c onvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automaticallyconvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically ocnvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically cocnvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically onvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically cconvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically cnovert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically conovert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically cnvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically coonvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically covnert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convnert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically covert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically connvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically conevrt the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convevrt the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically conert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convvert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convret the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically converet the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convrt the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically conveert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convetr the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convertr the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convet the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically converrt the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically conver tthe other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert tthe other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically conver the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convertt the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convertt he other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert t he other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convertthe other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert hte other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert thte other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert he other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert tthe other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert teh other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert theh other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert te other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert thhe other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert th eother operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the eother operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert th other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert thee other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert theo ther operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the o ther operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert theother operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the toher operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the otoher operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the ther operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the oother operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the ohter operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othter operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the oher operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the otther operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the otehr operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othehr operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the oter operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othher operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othre operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othere operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othr operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the otheer operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othe roperand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other roperand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othe operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the otherr operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the othero perand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other o perand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the otheroperand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other poerand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opoerand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other perand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other ooperand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other oeprand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opeprand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other oerand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opperand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opreand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opereand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other oprand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opeerand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opearnd to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operarnd to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opeand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operrand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opernad to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operanad to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other opernd to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operaand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operadn to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operandn to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operad to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operannd to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operan dto a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand dto a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operan to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operandd to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operandt o a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand t o a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operandto a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand ot a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand tot a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand o a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand tto a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand t oa string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to oa string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand t a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand too a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand toa string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand toa string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to astring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a astring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to aa string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to as tring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a s tring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to astring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a tsring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a stsring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a tring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a sstring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a srting. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strting. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a sring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a sttring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a stirng. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strirng. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a sting. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strring. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strnig. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strinig. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strng. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a striing. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strign. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a stringn. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strig. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strinng. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strin.g message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string.g message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a strin. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a stringg. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string .message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. .message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string.. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string.m essage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. m essage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string.message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. emssage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. memssage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. essage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. mmessage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. msesage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. mesesage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. mssage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. meessage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messsage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. mesage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messsage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. mesasge ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messasge ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. mesage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messsage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messgae ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messagae ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messge ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messaage ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messaeg ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messageg ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messae ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messagge ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messag e("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message e("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messag ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. messagee ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message( "You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ( "You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message "(You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("(You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message "You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message (("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message (Y"ou entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Y"ou entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message (You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message (""You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("oYu entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("YoYu entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("ou entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("YYou entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Yuo entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Youo entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Yu entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Yoou entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Yo uentered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You uentered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Yo entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Youu entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Youe ntered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You e ntered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("Youentered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You netered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enetered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You ntered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You eentered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You etnered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entnered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You etered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enntered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enetred: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entetred: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enttered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entreed: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entereed: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entred: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enteered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enteerd: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entererd: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enteed: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enterred: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enterde: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enterede: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enterd: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entereed: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entere:d " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered:d " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entere: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You enteredd: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered :" + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: :" + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered:: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered:" + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered:" + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: "+ x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " "+ x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: "" + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: "+ x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: "+ x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " +x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + +x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " ++ x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " +x ); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x ); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " +x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + )x; // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x)x; // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + ); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + xx); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x;) // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x);) // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x; // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x)); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x) ;// Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); ;// Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x) // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x);; // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x);/ / Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); / / Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x);// Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); /// Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); / Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); /// Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); / /Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // /Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); / Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); /// Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); //P rompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // P rompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); //Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // rPompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // PrPompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // rompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // PPrompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Pormpt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prormpt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Pompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prrompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prmopt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promopt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prmpt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Proompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Propmt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompmt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Propt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prommpt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promtp user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promptp user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promppt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promp tuser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt tuser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promp user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promptt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promptu ser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt u ser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Promptuser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt suer for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt usuer for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt ser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt uuser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt uesr for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt usesr for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt uer for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt usser for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt usre for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt usere for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt usr for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt useer for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt use rfor a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user rfor a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt use for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt userr for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt userf or a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user f or a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt userfor a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user ofr a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fofr a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user or a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user ffor a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fro a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user foro a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fr a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user foor a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fo ra Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for ra Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fo a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user forr a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fora Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user fora Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for aLiana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a aLiana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for aa Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for aL iana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a L iana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for aLiana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a iLana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a LiLana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a iana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a LLiana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Laina expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liaina expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liiana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Linaa expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lianaa expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lina expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liaana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liaan expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lianan expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liaa expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lianna expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lian aexpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana aexpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lian expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lianaa expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lianae xpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana e xpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Lianaexpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana xepression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exepression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana xpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana eexpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana epxression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expxression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana epression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exxpression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exrpession. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exprpession. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exppression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana experssion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exprerssion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expession. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exprression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exprsesion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresesion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana exprssion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expreession. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresssion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresssion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresison. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressison. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresssion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressoin. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressioin. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expresson. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressiion. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressino. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressiono. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressin. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressioon. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressio.n Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression.n Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressio. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expressionn. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression .Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. .Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression.. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression.S tore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. S tore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression.Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. tSore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. StSore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. tore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. SStore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Sotre it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stotre it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Sore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Sttore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stroe it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Storoe it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stre it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stoore it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stoer it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Storer it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stoe it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Storre it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stor eit in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store eit in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Stor it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Storee it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Storei t in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store i t in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Storeit in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store ti in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store iti in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store t in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store iit in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store i tin a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it tin a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store i in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store itt in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store iti n a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it i n a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store itin a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it ni a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it ini a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it n a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it iin a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it i na // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in na // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it i a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it inn a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it ina // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it ina // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a// local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a a// local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in aa // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a/ / local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a / / local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a// local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a /// local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a / local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a /// local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a / /local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // /local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a / local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a /// local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a //l ocal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // l ocal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a //local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // olcal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // lolcal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // ocal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // llocal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // lcoal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locoal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // lcal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // loocal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // loacl variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locacl variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // loal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // loccal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locla variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locala variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locl variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locaal variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // loca lvariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local lvariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // loca variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // locall variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // localv ariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local v ariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // localvariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local avriable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vavriable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local ariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vvariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vraiable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varaiable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vriable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vaariable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vairable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varirable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local vaiable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varriable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varaible (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variaible (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variiable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varibale (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variabale (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varible (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variaable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local varialbe (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variablbe (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variale (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variabble (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variabel (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variablel (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variabe (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variablle (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variabl e(the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable e(the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variabl (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variablee (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable( the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable ( the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable(the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable t(he type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (t(he type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable ((the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (hte type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (thte type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (he type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (tthe type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (teh type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (theh type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (te type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (thhe type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (th etype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the etype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (th type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (thee type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (thet ype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the t ype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (thetype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the ytpe, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the tytpe, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the ype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the ttype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the tpye, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the typye, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the tpe, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the tyype, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the tyep, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the typep, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the tye, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the typpe, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the typ,e string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type,e string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the typ, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the typee, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type ,string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, ,string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type,, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type,s tring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, s tring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type,string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, tsring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, stsring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, tring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, sstring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, srting, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strting, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, sring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, sttring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, stirng, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strirng, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, sting, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strring, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strnig, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strinig, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strng, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, striing, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strign, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, stringn, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strig, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strinng, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strin,g is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string,g is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, strin, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, stringg, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string ,is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, ,is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string,, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string,i s merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, i s merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string,is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, si merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, isi merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, s merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, iis merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, i smerely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is smerely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, i merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, iss merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, ism erely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is m erely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, ismerely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is emrely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is memrely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is erely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mmerely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mreely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mereely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mrely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is meerely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is meerly for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mererly for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is meely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merrely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merley for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mereley for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merly for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mereely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is mereyl for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merelyl for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merey for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merelly for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merel yfor // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely yfor // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merel for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merelyy for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merelyf or // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely f or // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merelyfor // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely ofr // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely fofr // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely or // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely ffor // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely fro // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely foro // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely fr // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely foor // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely fo r// documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for r// documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely fo // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely forr // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for/ / documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for / / documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for// documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for /// documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for / documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for /// documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for / /documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // /documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for / documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for /// documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for //d ocumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // d ocumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for //documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // odcumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // dodcumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // ocumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // ddocumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // dcoumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docoumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // dcumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // doocumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // doucmentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docucmentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // doumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // doccumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docmuentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documuentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docmentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docuumentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docuemntation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documemntation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docuentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // docummentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documnetation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenetation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documntation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documeentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documetnation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentnation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documetation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenntation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenattion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentattion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenttation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenttaion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentataion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documenttion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentaation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentaiton.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatiton.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentaion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentattion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatoin.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatioin.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentaton.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatiion.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatino.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentationo.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatin.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatioon.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatio.n) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.n) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentatio.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentationn.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation). string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.). string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation..) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation. )string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) )string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation. string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.)) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.)s tring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) s tring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.)string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) tsring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) stsring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) tring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) sstring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) srting expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strting expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) sring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) sttring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) stirng expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strirng expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) sting expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strring expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strnig expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strinig expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strng expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) striing expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strign expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) stringn expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strig expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strinng expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strin gexpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string gexpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) strin expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) stringg expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) stringe xpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string e xpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) stringexpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string xepr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exepr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string xpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string eexpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string epxr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expxr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string epr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exxpr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exrp = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exprp = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exppr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exp r= ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr r= ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exp = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string exprr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr= ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr= ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr =ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = =ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr == ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr =a sk ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = a sk ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr =ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = sak ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = asak ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = sk ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = aask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = aks ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = asks ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ak ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = assk ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = as k("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask k("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = as ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = askk ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask( "Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ( "Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask "(Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("(Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask "Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask (("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask (E"nter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("E"nter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask (Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask (""Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("nEter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("EnEter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("nter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("EEnter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Etner an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entner an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Eter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Ennter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enetr an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entetr an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Ener an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entre an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entere an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entr an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enteer an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Ente ran Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter ran Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Ente an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enterr an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Entera n Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter a n Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enteran Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter na Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter ana Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter n Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter aan Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter a nExpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an nExpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter a Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter ann Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter anE xpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an E xpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter anExpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an xEpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an ExEpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an xpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an EExpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Epxression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expxression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Epression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exxpression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exrpession"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exprpession"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exppression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Experssion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exprerssion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expession"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exprression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exprsesion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresesion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Exprssion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expreession"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresssion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresssion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresison"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressison"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresssion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressoin"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressioin"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expresson"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressiion"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressino"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressiono"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressin"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressioon"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressio"n); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"n); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressio"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expressionn"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression)"; // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression")"; // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression""); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression";) // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression");) // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"; // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression")); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression") ;// Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); ;// Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression") // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression");; // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression");/ / Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); / / Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression");// Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); /// Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); / Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); /// Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); / /Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // /Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); / Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); /// Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); //E valuate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // E valuate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); //Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // vEaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // EvEaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // valuate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // EEvaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Eavluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evavluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Ealuate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evvaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evlauate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalauate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaulate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalulate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evauate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalaute the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluaute the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluuate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalutae the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluatae the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evalute the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluaate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluaet the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluatet the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluae the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluatte the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluat ethe expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate ethe expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluat the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluatee the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluatet he expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate t he expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluatethe expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate hte expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate thte expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate he expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate tthe expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate teh expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate theh expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate te expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate thhe expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate th eexpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the eexpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate th expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate thee expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate thee xpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the e xpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate theexpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the xepression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exepression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the xpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the eexpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the epxression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expxression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the epression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exxpression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exrpession. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exprpession. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exppression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the experssion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exprerssion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expession. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exprression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exprsesion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresesion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the exprssion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expreession. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresssion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresssion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresison. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressison. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresssion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressoin. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressioin. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expresson. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressiion. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressino. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressiono. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressin. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressioon. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressio.n The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression.n The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressio. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expressionn. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression .The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. .The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression.. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression.T he return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. T he return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression.The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. hTe return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. ThTe return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. he return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. TThe return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Teh return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Theh return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Te return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Thhe return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Th ereturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The ereturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Th return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Thee return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Ther eturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The r eturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. Thereturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The erturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The rerturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The eturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The rreturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The rteurn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The reteurn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The rturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The reeturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The reutrn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retutrn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The reurn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retturn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retrun value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The returun value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retrn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retuurn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retunr value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The returnr value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retun value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The returrn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retur nvalue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return nvalue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The retur value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The returnn value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The returnv alue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return v alue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The returnvalue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return avlue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vavlue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return alue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vvalue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vlaue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valaue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vlue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vaalue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vaule of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valule of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vaue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vallue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valeu of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valueu of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return vale of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valuue of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valu eof "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value eof "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valu of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valuee of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valueo f "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value o f "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return valueof "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value fo "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value ofo "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value f "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value oof "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value o f"eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of f"eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value o "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value off "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of" eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of " eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of"eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of e"val" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "e"val" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of ""eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "veal" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eveal" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "val" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eeval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eavl" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evavl" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eal" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evla" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evala" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evl" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evaal" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eva"l // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval"l // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eva" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "evall" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval "// could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" "// could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval"" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval"/ / could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" / / could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval"// could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" /// could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" / could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" /// could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" / /could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // /could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" / could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" /// could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" //c ould be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // c ould be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" //could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // oculd be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coculd be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // ould be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // ccould be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // cuold be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // couold be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // culd be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coould be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // colud be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coulud be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // cold be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // couuld be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coudl be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // couldl be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coud be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coulld be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coul dbe any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could dbe any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // coul be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // couldd be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // couldb e any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could b e any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // couldbe any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could eb any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could beb any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could e any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could bbe any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could b eany type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be eany type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could b any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could bee any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could bea ny type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be a ny type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could beany type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be nay type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be anay type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be ny type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be aany type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be ayn type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be anyn type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be ay type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be anny type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be an ytype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any ytype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be an type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be anyy type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be anyt ype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any t ype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be anytype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any ytpe. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any tytpe. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any ype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any ttype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any tpye. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any typye. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any tpe. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any tyype. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any tyep. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any typep. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any tye. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any typpe. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any typ.e The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type.e The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any typ. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any typee. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type .The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. .The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type.. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type.T he "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. T he "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type.The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. hTe "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. ThTe "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. he "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. TThe "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Teh "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Theh "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Te "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Thhe "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Th e"source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The e"source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Th "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. Thee "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The" source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The " source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The"source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The s"ource_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "s"ource_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The ""source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "osurce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sosurce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "ource_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "ssource_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "suorce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "souorce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "surce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "soource_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "soruce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "souruce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sorce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "souurce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "soucre_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourcre_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "souce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourrce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourec_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourcec_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "soure_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourcce_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourc_eformat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_eformat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourc_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourcee_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourcef_ormat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_f_ormat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "sourceformat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source__format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_ofrmat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_fofrmat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_ormat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_fformat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_fromat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_foromat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_frmat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_foormat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_fomrat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formrat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_fomat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_forrmat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_foramt" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formamt" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_forat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formmat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formta" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formata" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formt" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formaat" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_forma"t member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format"t member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_forma" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_formatt" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format "member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" "member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format"" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format"m ember function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" m ember function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format"member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" emmber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memmber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" ember function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" mmember function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" mmeber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memeber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" mmber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" meember function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" mebmer function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membmer function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" meber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memmber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memebr function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membebr function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memer function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membber function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membre function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membere function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membr function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membeer function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membe rfunction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member rfunction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" membe function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memberr function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memberf unction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member f unction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" memberfunction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member ufnction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member fufnction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member unction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member ffunction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member fnuction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funuction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member fnction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member fuunction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member fucntion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funcntion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member fuction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funnction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funtcion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functcion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funtion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funcction // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funciton // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functiton // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member funcion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functtion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functoin // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functioin // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functon // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functiion // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functino // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functiono // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functin // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functioon // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functio n// converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function n// converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functio // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member functionn // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function/ / converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function / / converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function// converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function /// converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function / converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function /// converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function / /converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // /converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function / converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function /// converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function //c onverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // c onverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function //converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // ocnverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // cocnverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // onverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // cconverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // cnoverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // conoverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // cnverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // coonverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // covnerts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convnerts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // coverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // connverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // conevrts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convevrts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // conerts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convverts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convrets any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converets any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convrts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // conveerts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convetrs any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convertrs any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convets any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converrts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converst any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convertst any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convers any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convertts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convert sany value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts sany value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convert any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convertss any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convertsa ny value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts a ny value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // convertsany value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts nay value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts anay value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts ny value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts aany value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts ayn value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts anyn value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts ay value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts anny value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts an yvalue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any yvalue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts an value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts anyy value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts anyv alue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any v alue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts anyvalue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any avlue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vavlue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any alue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vvalue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vlaue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valaue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vlue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vaalue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vaule to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valule to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vaue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vallue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valeu to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valueu to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any vale to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valuue to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valu eto its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value eto its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valu to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valuee to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valuet o its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value t o its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any valueto its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value ot its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value tot its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value o its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value tto its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value t oits source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to oits source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value t its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value too its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value toi ts source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to i ts source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value toits source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to tis source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to itis source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to ts source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to iits source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to ist source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to itst source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to is source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to itts source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to it ssource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its ssource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to it source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to itss source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to itss ource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its s ource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to itssource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its osurce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sosurce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its ource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its ssource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its suorce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its souorce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its surce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its soource format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its soruce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its souruce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sorce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its souurce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its soucre format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourcre format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its souce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourrce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourec format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourcec format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its soure format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourcce format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourc eformat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source eformat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourc format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourcee format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourcef ormat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source f ormat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its sourceformat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source ofrmat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source fofrmat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source ormat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source fformat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source fromat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source foromat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source frmat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source foormat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source fomrat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formrat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source fomat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source forrmat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source foramt (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formamt (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source forat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formmat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formta (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formata (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formt (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formaat (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source forma t(e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format t(e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source forma (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source formatt (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format( e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format ( e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format(e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format e(.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e(.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format ((e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (.eg., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.eg., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (ee.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (eg.., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (eg., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e..g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e..g, add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.g, add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.gg., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g,. add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.,. add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g, add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g. ,add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., ,add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g. add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.,, add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.,a dd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., a dd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g.,add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., dad // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., adad // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., dd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., aadd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., addd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., ad // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., addd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., ad d// quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add d// quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., ad // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., addd // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add/ / quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add / / quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add// quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add /// quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add / quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add /// quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add / /quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // /quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add / quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add /// quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add //q uotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // q uotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add //quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // uqotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quqotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // uotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // qquotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // qoutes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quoutes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // qotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quuotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // qutoes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotoes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // qutes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quootes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quoets for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotets for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quoes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quottes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotse for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotese for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quots for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotees for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quote sfor a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes sfor a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quote for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotess for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotesf or a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes f or a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotesfor a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes ofr a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fofr a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes or a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes ffor a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fro a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes foro a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fr a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes foor a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fo ra string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for ra string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fo a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes forr a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fora string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes fora string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for astring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a astring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for aa string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for as tring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a s tring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for astring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a tsring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a stsring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a tring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a sstring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a srting.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strting.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a sring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a sttring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a stirng.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strirng.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a sting.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strring.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strnig.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strinig.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strng.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a striing.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strign.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a stringn.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strig.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strinng.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strin.g) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.g) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a strin.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a stringg.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string). The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.). The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string..) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string. )The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) )The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string. The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.)) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.)T he "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) T he "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.)The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) hTe "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) ThTe "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) he "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) TThe "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Teh "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Theh "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Te "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Thhe "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Th e"class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The e"class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Th "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) Thee "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The" class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The " class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The"class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The c"lass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "c"lass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The ""class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "lcass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clcass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "lass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "cclass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "calss_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clalss_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "cass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "cllass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clsas_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clasas_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clss_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "claass_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "classs_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clas_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "classs_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clas_sname" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_sname" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "clas_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "classs_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "classn_ame" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_n_ame" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "classname" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class__name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_anme" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nanme" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_ame" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nname" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nmae" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_namae" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nme" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_naame" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_naem" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_namem" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nae" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_namme" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nam"e member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name"e member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_nam" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_namee" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name "member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" "member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name"" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name"m ember function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" m ember function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name"member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" emmber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memmber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" ember function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" mmember function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" mmeber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memeber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" mmber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" meember function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" mebmer function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membmer function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" meber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memmber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memebr function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membebr function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memer function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membber function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membre function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membere function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membr function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membeer function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membe rfunction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member rfunction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" membe function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memberr function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memberf unction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member f unction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" memberfunction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member ufnction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member fufnction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member unction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member ffunction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member fnuction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funuction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member fnction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member fuunction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member fucntion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funcntion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member fuction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funnction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funtcion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functcion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funtion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funcction // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funciton // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functiton // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member funcion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functtion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functoin // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functioin // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functon // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functiion // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functino // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functiono // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functin // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functioon // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functio n// return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function n// return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functio // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member functionn // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function/ / return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function / / return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function// return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function /// return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function / return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function /// return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function / /return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // /return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function / return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function /// return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function //r eturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // r eturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function //return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // erturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // rerturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // eturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // rreturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // rteurn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // reteurn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // rturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // reeturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // reutrn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retutrn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // reurn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retturn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retrun the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // returun the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retrn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retuurn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retunr the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // returnr the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retun the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // returrn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retur nthe name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return nthe name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // retur the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // returnn the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // returnt he name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return t he name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // returnthe name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return hte name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return thte name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return he name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return tthe name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return teh name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return theh name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return te name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return thhe name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return th ename of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the ename of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return th name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return thee name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return then ame of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the n ame of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return thename of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the anme of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nanme of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the ame of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nname of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nmae of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the namae of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nme of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the naame of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the naem of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the namem of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nae of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the namme of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nam eof the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name eof the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nam of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the namee of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nameo f the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name o f the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the nameof the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name fo the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name ofo the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name f the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name oof the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name o fthe class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of fthe class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name o the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name off the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name oft he class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of t he class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name ofthe class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of hte class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of thte class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of he class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of tthe class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of teh class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of theh class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of te class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of thhe class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of th eclass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the eclass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of th class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of thee class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of thec lass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the c lass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of theclass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the lcass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clcass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the lass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the cclass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the calss of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clalss of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the cass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the cllass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clsas of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clasas of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clss of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the claass of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the classs of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clas of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the classs of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clas sof an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class sof an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the clas of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the classs of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the classo f an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class o f an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the classof an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class fo an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class ofo an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class f an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class oof an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class o fan object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of fan object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class o an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class off an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class ofa n object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of a n object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class ofan object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of na object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of ana object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of n object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of aan object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of a nobject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an nobject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of a object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of ann object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of ano bject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an o bject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of anobject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an boject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an oboject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an bject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an oobject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an ojbect/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objbect/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an oject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an obbject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an obejct/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objejct/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an obect/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objject/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objcet/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objecet/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objct/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objeect/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objetc/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objectc/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objet/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objecct/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objec/tvalue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/tvalue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objec/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objectt/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objectv/alue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/v/alue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an objectvalue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object//value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/avlue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vavlue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/alue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vvalue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vlaue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valaue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vlue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vaalue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vaule. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valule. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vaue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vallue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valeu. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valueu. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/vale. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valuue. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valu.e // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value.e // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valu. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/valuee. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value .// Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. .// Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value.. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value./ / Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. / / Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value.// Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. /// Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. / Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. /// Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. / /Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // /Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. / Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. /// Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. //E mpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // E mpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. //Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // mEpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // EmEpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // mpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // EEmpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Epmty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empmty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Epty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emmpty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emtpy parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emptpy parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emppty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empyt parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emptyt parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empy parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emptty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empt yparens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty yparens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empt parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emptyy parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emptyp arens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty p arens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Emptyparens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty aprens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paprens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty arens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty pparens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty praens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paraens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty prens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paarens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paerns can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parerns can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parrens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parnes can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parenes can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parns can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty pareens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paresn can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parensn can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty pares can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parenns can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paren scan be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens scan be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty paren can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parenss can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parensc an be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens c an be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parenscan be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens acn be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens cacn be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens an be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens ccan be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens cna be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens cana be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens cn be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens caan be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens ca nbe left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can nbe left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens ca be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens cann be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens canb e left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can b e left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens canbe left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can eb left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can beb left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can e left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can bbe left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can b eleft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be eleft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can b left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can bee left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can bel eft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be l eft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can beleft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be elft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lelft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be eft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lleft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lfet off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lefet off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be leeft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be letf off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be leftf off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be let off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lefft off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lef toff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left toff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lef off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be leftt off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be lefto ff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left o ff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be leftoff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left fof for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left ofof for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left ff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left ooff for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left offf for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left of for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left offf for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left of ffor member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off ffor member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left of for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left offf for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left offf or member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off f or member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left offfor member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off ofr member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off fofr member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off or member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off ffor member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off fro member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off foro member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off fr member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off foor member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off fo rmember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for rmember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off fo member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off forr member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off form ember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for m ember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off formember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for emmber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memmber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for ember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for mmember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for mmeber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memeber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for mmber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for meember function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for mebmer function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membmer function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for meber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memmber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memebr function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membebr function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memer function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membber function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membre function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membere function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membr function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membeer function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membe rfunction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member rfunction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for membe function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memberr function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memberf unction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member f unction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for memberfunction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member ufnction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member fufnction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member unction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member ffunction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member fnuction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funuction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member fnction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member fuunction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member fucntion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funcntion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member fuction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funnction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funtcion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functcion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funtion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funcction calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funciton calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functiton calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member funcion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functtion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functoin calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functioin calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functon calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functiion calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functino calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functiono calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functin calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functioon calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functio ncalls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function ncalls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functio calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functionn calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functionc alls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function c alls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member functioncalls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function aclls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function caclls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function alls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function ccalls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function clals. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calals. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function clls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function caalls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function callls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function cals. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function callls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calsl. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function callsl. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function cals. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function callls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function call.s x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls.s x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function call. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function callss. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls .x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. .x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls.. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls.x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls.x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x= eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x x= eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. xx = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x= eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x= eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x =eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = =eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x == eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x =e val (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = e val (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x =eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = veal (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eveal (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = val (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eeval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eavl (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evavl (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eal (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evla (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evala (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evl (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evaal (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eva l(expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval l(expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eva (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = evall (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval( expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval ( expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval(expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval e(xpr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (e(xpr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval ((expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (xepr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exepr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (xpr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (eexpr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (epxr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expxr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (epr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exxpr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exrp); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exprp); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exppr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exp)r; message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr)r; message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exp); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (exprr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr;) message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr);) message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr; message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr)); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr) ;message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); ;message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr) message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr);; message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr);m essage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); m essage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr);message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); emssage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); memssage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); essage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); mmessage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); msesage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); mesesage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); mssage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); meessage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messsage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); mesage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messsage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); mesasge ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messasge ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); mesage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messsage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messgae ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messagae ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messge ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messaage ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messaeg ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messageg ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messae ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messagge ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messag e("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message e("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messag ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); messagee ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message( "The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ( "The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message "(The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("(The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message "The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message (("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message (T"he value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("T"he value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message (The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message (""The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("hTe value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("ThTe value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("he value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("TThe value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Teh value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Theh value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Te value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Thhe value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Th evalue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The evalue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Th value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Thee value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Thev alue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The v alue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("Thevalue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The avlue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vavlue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The alue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vvalue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vlaue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valaue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vlue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vaalue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vaule of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valule of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vaue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vallue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valeu of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valueu of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The vale of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valuue of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valu eof " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value eof " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valu of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valuee of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valueo f " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value o f " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The valueof " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value fo " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value ofo " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value f " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value oof " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value o f" + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of f" + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value o " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value off " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of" + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of" + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of "+ expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " "+ expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of "" + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of "+ expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of "+ expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " +expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + +expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " ++ expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " +e xpr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + e xpr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " +expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + xepr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exepr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + xpr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + eexpr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + epxr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expxr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + epr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exxpr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exrp + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exprp + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exppr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exp r+ " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr r+ " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exp + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + exprr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr+ " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr+ " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr +" is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + +" is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr ++ " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr +" is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr +" is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + "is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " "is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + "" is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + "i s " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " i s " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + "is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " si " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " isi " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " s " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " iis " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " i s" + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is s" + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " i " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " iss " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is" + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is" + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is "+ x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " "+ x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is "" + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is "+ x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is "+ x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " +x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + +x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " ++ x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " +x .source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x .source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " +x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + .xsource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.xsource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + .source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + xx.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + xs.ource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.s.ource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + xsource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x..source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.osurce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sosurce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.ource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.ssource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.suorce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.souorce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.surce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.soource_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.soruce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.souruce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sorce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.souurce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.soucre_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourcre_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.souce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourrce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourec_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourcec_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.soure_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourcce_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourc_eformat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_eformat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourc_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourcee_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourcef_ormat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_f_ormat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.sourceformat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source__format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_ofrmat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_fofrmat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_ormat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_fformat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_fromat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_foromat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_frmat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_foormat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_fomrat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formrat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_fomat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_forrmat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_foramt + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formamt + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_forat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formmat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formta + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formata + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formt + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formaat + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_forma t+ " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format t+ " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_forma + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_formatt + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format+ " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format+ " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format +" its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + +" its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format ++ " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format +" its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format +" its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + "its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " "its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + "" its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + "i ts type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " i ts type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + "its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " tis type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " itis type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " ts type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " iits type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " ist type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " itst type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " is type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " itts type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " it stype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its stype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " it type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " itss type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " itst ype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its t ype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " itstype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its ytpe is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its tytpe is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its ype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its ttype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its tpye is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typye is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its tpe is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its tyype is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its tyep is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typep is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its tye is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typpe is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typ eis " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type eis " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typ is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typee is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typei s " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type i s " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its typeis " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type si " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type isi " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type s " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type iis " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type i s" + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is s" + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type i " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type iss " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is" + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is" + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is "+ x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " "+ x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is "" + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is "+ x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is "+ x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " +x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + +x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " ++ x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " +x .class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x .class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " +x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + .xclass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.xclass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + .class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + xx.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + xc.lass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.c.lass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + xclass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x..class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.lcass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clcass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.lass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.cclass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.calss_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clalss_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.cass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.cllass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clsas_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clasas_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clss_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.claass_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.classs_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clas_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.classs_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clas_sname); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_sname); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.clas_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.classs_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.classn_ame); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_n_ame); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.classname); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class__name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_anme); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nanme); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_ame); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nname); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nmae); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_namae); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nme); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_naame); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_naem); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_namem); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nae); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_namme); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nam)e; // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name)e; // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_nam); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_namee); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name;) // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name);) // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name; // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name)); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name;); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name) // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name);; .. Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); /.. Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); ../ Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // 0rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // p0rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // 0prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // )rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // p)rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // )prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // orompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // porompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // oprompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // lrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // plrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // lprompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P4ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr4ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P4rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P$ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr$ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P$rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P5ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr5ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // P5rompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Peompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Preompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Perompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Ptompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prtompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Ptrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pdompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prdompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pdrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pfompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prfompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pfrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pgompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prgompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pgrompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr9mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pro9mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr9ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr(mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pro(mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr(ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr0mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pro0mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pr0ompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Primpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Proimpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Priompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prpmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Propmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prpompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prkmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prokmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prkompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prlmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prolmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prlompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prampt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prempt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prumpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Projpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promjpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Projmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prokpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promkpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prokmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prolpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promlpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prolmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pronpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promnpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pronmpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pro pt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prom pt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Pro mpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prom0t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp0t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prom0pt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prom)t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp)t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prom)pt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promot user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompot user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promopt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promlt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promplt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promlpt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp5 user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt5 user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp5t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp% user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt% user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp%t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp6 user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt6 user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promp6t user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompr user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptr user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promprt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompy user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompty user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompyt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompf user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptf user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompft user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompg user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promptg user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompgt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Promph user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompth user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompht user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt 7ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt u7ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt 7user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt &ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt u&ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt &user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt 8ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt u8ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt 8user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt yser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uyser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt yuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt iser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uiser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt iuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt hser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uhser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt huser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt jser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ujser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt juser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt kser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ukser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt kuser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt aser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt eser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt oser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uqer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usqer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uqser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uwer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uswer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uwser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ueer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt useer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ueser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uaer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usaer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uaser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uder for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usder for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt udser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uzer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uszer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uzser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uxer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usxer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uxser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ucer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uscer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ucser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt u er for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us er for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt u ser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us3r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use3r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us3er for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us#r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use#r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us#er for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us4r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use4r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt us4er for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uswr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usewr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uswer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usrr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usrer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt ussr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usesr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usser for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usdr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usedr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usder for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usfr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usefr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usfer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usar for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usir for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usor for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usur for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use4 for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user4 for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use4r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use$ for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user$ for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use$r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use5 for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user5 for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt use5r for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usee for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usere for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt useer for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt uset for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usert for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usetr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt used for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userd for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usedr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usef for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userf for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usefr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt useg for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt userg for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt usegr for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user eor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user feor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user efor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user ror a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fror a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user rfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user tor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user ftor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user tfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user dor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fdor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user dfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user gor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fgor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user gfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user cor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fcor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user cfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user vor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fvor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user vfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user bor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fbor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user bfor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f9r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo9r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f9or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f(r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo(r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f(or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f0r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo0r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user f0or a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fir a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user foir a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fior a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fpr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fopr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fpor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fkr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fokr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fkor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user flr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user folr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user flor a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user far a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fer a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fur a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo4 a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for4 a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo4r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo$ a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for$ a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo$r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo5 a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for5 a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fo5r a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user foe a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fore a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user foer a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fot a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fort a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fotr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fod a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user ford a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fodr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fof a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user forf a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fofr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fog a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user forg a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user fogr a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for q string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for aq string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for qa string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for w string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for aw string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for wa string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for s string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for as string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for sa string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for x string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for ax string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for xa string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for z string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for az string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for za string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for e string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for i string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for o string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for u string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a qtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sqtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a qstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a wtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a swtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a wstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a etring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a setring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a estring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a atring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a satring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a astring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a dtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sdtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a dstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a ztring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sztring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a zstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a xtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sxtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a xstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a ctring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sctring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a cstring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s5ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st5ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s5tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s%ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st%ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s%tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s6ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st6ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a s6tring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a srring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a srtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a syring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a styring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sytring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sfring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stfring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sftring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sgring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stgring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sgtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a shring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sthring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a shtring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st4ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str4ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st4ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st$ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str$ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st$ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st5ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str5ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a st5ring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a steing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a streing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stering. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stting. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strting. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a sttring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stding. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strding. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stdring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stfing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strfing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stfring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stging. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strging. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stgring. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str8ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stri8ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str8ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str*ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stri*ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str*ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str9ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stri9ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a str9ing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strung. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a striung. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a struing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strong. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a striong. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stroing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strjng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strijng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strjing. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strkng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strikng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strking. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strlng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strilng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strling. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strang. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a streng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strigg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strigng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strihg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinhg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strihng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strijg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinjg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strijng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stribg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinbg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stribng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strimg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinmg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strimng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stri g. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strin g. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stri ng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinr. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringr. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinrg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strint. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringt. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strintg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a striny. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringy. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinyg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinf. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringf. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinfg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinh. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringh. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinhg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinv. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringv. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinvg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinb. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringb. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinbg. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinn. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringn. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strinng. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strin . // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string . // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a strin g. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringk // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string.k // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringk. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringl // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string.l // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a stringl. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string' // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string.' // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string'. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. .. No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. /.. No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. ../ No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // go declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // ngo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // gno declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // ho declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // nho declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // hno declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // jo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // njo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // jno declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // bo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // nbo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // bno declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // mo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // nmo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // mno declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // n o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // no declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N9 declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No9 declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N9o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N( declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No( declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N(o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N0 declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No0 declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // N0o declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Ni declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Noi declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nio declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Np declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nop declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Npo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nk declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nok declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nko declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nl declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nol declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nlo declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Na declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Ne declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // Nu declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No weclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dweclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No wdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No eeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No deeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No edeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No reclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dreclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No rdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No seclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dseclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No sdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No feclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dfeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No fdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No xeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dxeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No xdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No ceclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dceclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No cdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No veclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dveclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No vdeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d3claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No de3claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d3eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d#claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No de#claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d#eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d4claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No de4claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No d4eclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dwclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dewclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dweclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No drclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No derclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dreclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dsclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No desclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dseclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No ddclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dedclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No ddeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dfclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No defclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dfeclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No daclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No diclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No doclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No duclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No deslaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decslaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No desclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dedlaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decdlaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dedclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No deflaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decflaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No defclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dexlaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decxlaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dexclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No devlaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decvlaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No devclaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No de laration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dec laration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No de claration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No deciaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decliaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decilaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decoaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decloaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decolaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decparation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declparation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decplaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No deckaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declkaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decklaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dec,aration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decl,aration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dec,laration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dec.aration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decl.aration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No dec.laration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declqration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaqration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declqaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declwration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declawration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declwaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declsration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declasration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declsaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declxration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaxration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declxaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declzration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declazration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declzaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decl ration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla ration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decl aration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decleration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decliration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decloration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decluration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla4ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declar4ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla4ration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla$ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declar$ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla$ration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla5ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declar5ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decla5ration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaeation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declareation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaeration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declatation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declartation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declatration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decladation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declardation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No decladration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declafation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarfation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declafration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declagation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declargation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declagration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarqtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraqtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarqation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarwtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarawtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarwation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarstion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarastion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarsation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarxtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraxtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarxation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarztion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraztion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarzation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declar tion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara tion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declar ation needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaretion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarition needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarotion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarution needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara5ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat5ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara5tion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara%ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat%ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara%tion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara6ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat6ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declara6tion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declararion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratrion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarartion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarayion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratyion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraytion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarafion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratfion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaraftion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaragion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratgion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaragtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarahion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarathion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarahtion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat8on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati8on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat8ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat*on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati*on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat*ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat9on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati9on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarat9ion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratuon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiuon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratuion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratoon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratoion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratjon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratijon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratjion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratkon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratikon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratkion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratlon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratilon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratlion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarataon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarateon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati9n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio9n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati9on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati(n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio(n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati(on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati0n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio0n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarati0on needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiin needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioin needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiion needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratipn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiopn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratipon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratikn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiokn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratikon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiln needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioln needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratilon needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratian needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratien needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiun needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiog needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationg needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiogn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioh needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationh needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiohn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratioj needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationj needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiojn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiob needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationb needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiobn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiom needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declarationm needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratiomn needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaratio n needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration geeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration ngeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration gneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration heeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nheeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration hneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration jeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration njeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration jneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration beeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nbeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration bneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration meeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nmeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration mneeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration eeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n eeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n33ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration ne33ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n33eded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n##ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration ne##ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n##eded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n44ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration ne44ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration n44eded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nwwded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration newwded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nwweded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nrrded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nerrded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nrreded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nssded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nessded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nsseded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nddded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neddded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nddeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nffded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neffded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nffeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration naaded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration niided for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nooded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nuuded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neewed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needwed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neewded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeeded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neered for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needred for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neerded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neesed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needsed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neesded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neefed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needfed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neefded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neexed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needxed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neexded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeced for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needced for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neecded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neeved for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needved for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neevded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nee ed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need ed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration nee ded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need3d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede3d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need3ed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need#d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede#d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need#ed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need4d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede4d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration need4ed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needwd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needewd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needwed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needrd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neederd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needred for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needsd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needesd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needsed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needdd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needded for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needfd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needefd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needfed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needad for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needid for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needod for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needud for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needew for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededw for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needewd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needee for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needede for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needeed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needer for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededr for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neederd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needes for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededs for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needesd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needef for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededf for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needefd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needex for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededx for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needexd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needec for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededc for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needecd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needev for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neededv for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needevd for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration neede d for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed eor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed feor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed efor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed ror "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fror "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed rfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed tor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed ftor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed tfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed dor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fdor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed dfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed gor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fgor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed gfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed cor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fcor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed cfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed vor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fvor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed vfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed bor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fbor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed bfor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f9r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo9r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f9or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f(r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo(r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f(or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f0r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo0r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed f0or "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fir "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed foir "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fior "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fpr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fopr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fpor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fkr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fokr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fkor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed flr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed folr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed flor "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed far "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fer "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fur "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo4 "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for4 "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo4r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo$ "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for$ "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo$r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo5 "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for5 "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fo5r "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed foe "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fore "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed foer "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fot "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fort "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fotr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fod "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed ford "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fodr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fof "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed forf "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fofr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fog "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed forg "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed fogr "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "a" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "xa" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "ax" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "s" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "xs" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "sx" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "d" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "xd" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "dx" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "z" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "xz" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "zx" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "c" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "xc" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "cx" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for " " (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x " (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for " x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (fecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bfecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (fbecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (gecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bgecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (gbecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (hecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bhecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (hbecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (vecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bvecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (vbecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (necomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bnecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (nbecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" ( ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" ( becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b3comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (be3comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b3ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b#comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (be#comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b#ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b4comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (be4comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (b4ecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bwcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bewcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bwecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (brcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bercomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (brecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bscomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bescomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bsecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bdcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bedcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bdecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bfcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (befcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bfecomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bacomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bicomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bocomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bucomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (besomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becsomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bescomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bedomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becdomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bedcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (befomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becfomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (befcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bexomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becxomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bexcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bevomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becvomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bevcomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (be omes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec omes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (be comes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec9mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beco9mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec9omes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec(mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beco(mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec(omes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec0mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beco0mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (bec0omes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becimes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becoimes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beciomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becpmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becopmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becpomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beckmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becokmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beckomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beclmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becolmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beclomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becames a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becemes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becumes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becojes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomjes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becojmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becokes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomkes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becokmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becoles a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomles a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becolmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becones a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomnes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beconmes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beco es a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom es a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (beco mes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom3s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become3s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom3es a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom#s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become#s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom#es a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom4s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become4s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becom4es a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomws a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomews a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomwes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomrs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomers a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomres a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomss a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomess a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomses a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomds a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomeds a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomdes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomfs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomefs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomfes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomas a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomis a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomos a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomus a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomeq a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesq a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomeqs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomew a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesw a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomews a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomee a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomese a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomees a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomea a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesa a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomeas a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomed a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesd a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomeds a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomez a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesz a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomezs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomex a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesx a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomexs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomec a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomesc a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomecs a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (become s a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes q global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes aq global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes qa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes w global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes aw global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes wa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes s global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes as global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes sa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes x global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes ax global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes xa global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes z global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes az global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes za global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes e global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes i global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes o global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes u global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a rlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a grlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a rglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a tlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gtlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a tglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a ylobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gylobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a yglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a flobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gflobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a fglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a hlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a ghlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a hglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a vlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gvlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a vglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a blobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gblobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a bglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a nlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gnlobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a nglobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a g lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a giobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gliobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gilobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a goobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gloobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a golobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gpobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glpobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gplobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gkobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glkobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gklobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a g,obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl,obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a g,lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a g.obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl.obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a g.lobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl9bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glo9bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl9obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl(bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glo(bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl(obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl0bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glo0bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gl0obal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glibal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gloibal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gliobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glpbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glopbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glpobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glkbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glokbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glkobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gllbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glolbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gllobal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glabal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glebal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glubal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glofal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globfal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glofbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glogal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globgal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glogbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glohal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globhal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glohbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a gloval variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globval variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glovbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glonal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globnal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glonbal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glo al variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glob al variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glo bal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globql variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globaql variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globqal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globwl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globawl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globwal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globsl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globasl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globsal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globxl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globaxl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globxal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globzl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globazl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globzal variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glob l variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa l variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a glob al variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globel variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globil variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globol variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globul variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globai variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globali variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globail variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globao variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globalo variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globaol variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globap variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globalp variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globapl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globak variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globalk variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globakl variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa, variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global, variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa,l variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa. variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global. variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a globa.l variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global dariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vdariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global dvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global fariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vfariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global fvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global gariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vgariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global gvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global cariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vcariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global cvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global bariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vbariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global bvariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global ariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global v ariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vqriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vaqriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vqariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vwriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vawriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vwariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vsriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vasriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vsariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vxriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vaxriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vxariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vzriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vazriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vzariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global v riable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va riable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global v ariable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global veriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global viriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global voriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vuriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va4iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var4iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va4riable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va$iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var$iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va$riable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va5iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var5iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global va5riable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vaeiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vareiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vaeriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vatiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vartiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vatriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vadiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vardiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vadriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vafiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varfiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vafriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vagiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vargiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vagriable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var8able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vari8able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var8iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var*able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vari*able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var*iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var9able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vari9able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global var9iable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varuable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variuable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varuiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varoable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varioable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varoiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varjable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varijable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varjiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varkable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varikable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varkiable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varlable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varilable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varliable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varaable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vareable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variqble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variaqble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variqable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variwble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variawble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variwable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varisble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variasble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varisable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varixble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variaxble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varixable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varizble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variazble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varizable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vari ble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varia ble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global vari able.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varieble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variible.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varioble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variuble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variafle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabfle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variafble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variagle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabgle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variagble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variahle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabhle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variahble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variavle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabvle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variavble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varianle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabnle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varianble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varia le.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variab le.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global varia ble.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabie.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablie.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabile.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variaboe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabloe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabole.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabpe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablpe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabple.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabke.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablke.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabkle.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variab,e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl,e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variab,le.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variab.e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl.e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variab.le.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl3.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable3.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl3e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl#.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable#.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl#e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl4.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable4.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabl4e.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablw.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablew.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablwe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablr.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabler.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablre.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabls.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variables.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablse.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabld.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabled.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablde.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablf.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablef.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablfe.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabla.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variabli.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablo.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablu.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablek) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.k) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablek.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablel) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.l) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variablel.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable') x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.') x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable'.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) a = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) xa = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) ax = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) s = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) xs = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) sx = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) d = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) xd = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) dx = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) z = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) xz = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) zx = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) c = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) xc = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) cx = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = qsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aqsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = qask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = wsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = awsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = wask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ssk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = assk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = sask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = xsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = axsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = xask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = zsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = azsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = zask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = sk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = a sk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = esk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = isk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = osk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = usk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aqk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asqk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aqsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = awk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aswk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = awsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aek ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asek ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aesk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aak ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asak ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = adk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asdk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = adsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = azk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aszk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = azsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = axk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asxk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = axsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ack ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asck ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = acsk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = a k ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as k ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = a sk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asu ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asku ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asuk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asi ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aski ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asik ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aso ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asko ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asok ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asj ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = askj ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asjk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asl ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = askl ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = aslk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asm ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = askm ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = asmk ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as, ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask, ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as,k ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as. ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask. ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = as.k ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("3nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("e3nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("3enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("#nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("e#nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("#enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("4nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("e4nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("4enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("wnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("ewnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("wenter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("rnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("ernter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("renter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("snter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("esnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("senter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("dnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("ednter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("denter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("fnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("efnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("fenter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("anter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("inter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("onter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("unter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Egter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Engter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Egnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ehter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enhter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ehnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ejter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enjter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ejnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ebter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enbter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ebnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Emter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enmter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Emnter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("E ter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En ter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("E nter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En5er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent5er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En5ter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En%er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent%er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En%ter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En6er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent6er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("En6ter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enrer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entrer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enrter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enyer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entyer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enyter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enfer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entfer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enfter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enger a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entger a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Engter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enher a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enther a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enhter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent3r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente3r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent3er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent#r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente#r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent#er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent4r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente4r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ent4er a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entwr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entewr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entwer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entrr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enterr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entrer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entsr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entesr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entser a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entdr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entedr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entder a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entfr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entefr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entfer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entar a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entir a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entor a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entur a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente4 a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter4 a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente4r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente$ a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter$ a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente$r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente5 a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter5 a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ente5r a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entee a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entere a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enteer a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entet a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entert a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entetr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Ented a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enterd a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entedr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entef a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enterf a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entefr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enteg a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enterg a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Entegr a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter q String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter aq String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter qa String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter w String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter aw String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter wa String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter s String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter as String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter sa String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter x String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter ax String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter xa String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter z String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter az String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter za String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter e String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter i String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter o String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter u String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a qtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a sqtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a qstring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a wtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a swtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a wstring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a etring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a setring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a estring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a atring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a satring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a astring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a dtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a sdtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a dstring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a ztring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a sztring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a zstring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a xtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a sxtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a xstring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a ctring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a sctring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a cstring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a s tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a string"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S5ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St5ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S5tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S%ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St%ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S%tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S6ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St6ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a S6tring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Srring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Srtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Syring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Styring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sytring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sfring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stfring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sftring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sgring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stgring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sgtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Shring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sthring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Shtring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St4ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str4ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St4ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St$ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str$ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St$ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St5ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str5ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a St5ring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Steing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Streing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stering"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stting"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strting"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Sttring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stding"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strding"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stdring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stfing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strfing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stfring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stging"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strging"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stgring"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str8ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stri8ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str8ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str*ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stri*ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str*ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str9ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stri9ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Str9ing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strung"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Striung"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Struing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strong"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Striong"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stroing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strjng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strijng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strjing"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strkng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strikng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strking"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strlng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strilng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strling"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strang"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Streng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strigg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strigng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strihg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinhg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strihng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strijg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinjg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strijng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stribg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinbg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stribng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strimg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinmg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strimng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stri g"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strin g"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stri ng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinr"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringr"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinrg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strint"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringt"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strintg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Striny"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringy"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinyg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinf"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringf"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinfg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinh"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringh"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinhg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinv"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringv"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinvg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinb"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringb"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinbg"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinn"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Stringn"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strinng"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strin "); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String "); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a Strin g"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); .. Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); /.. Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); ../ Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // 7se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // u7se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // 7use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // &se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // u&se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // &use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // 8se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // u8se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // 8use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // yse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // uyse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // yuse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // ise "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // uise "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // iuse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // hse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // uhse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // huse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // jse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // ujse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // juse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // kse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // ukse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // kuse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // ase "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // ese "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // ose "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uqe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usqe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uqse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uwe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uswe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uwse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uee "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usee "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uese "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uae "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usae "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uase "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Ude "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usde "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Udse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uze "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usze "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uzse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uxe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usxe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uxse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uce "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usce "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Ucse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // U e "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us e "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // U se "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us3 "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use3 "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us3e "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us# "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use# "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us#e "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us4 "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use4 "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Us4e "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usw "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usew "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uswe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usr "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // User "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usre "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uss "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uses "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usse "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usd "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Used "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usde "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usf "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usef "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usfe "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usa "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usi "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Uso "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Usu "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" 9perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o9perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" 9operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" (perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o(perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" (operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" 0perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o0perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" 0operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" iperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oiperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ioperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" pperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" poperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" kperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" okperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" koperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" lperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" olperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" loperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" aperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" eperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" uperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o0erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op0erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o0perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o)erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op)erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" o)perator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ooerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opoerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ooperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" olerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oplerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" olperator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op3rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope3rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op3erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op#rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope#rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op#erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op4rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope4rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" op4erator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opwrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opewrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opwerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oprrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oprerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opsrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opesrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opserator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opdrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opedrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opderator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opfrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opefrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opferator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oparator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opirator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oporator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opurator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope4ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oper4ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope4rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope$ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oper$ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope$rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope5ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oper5ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" ope5rator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opeeator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opereator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opeerator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opetator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opertator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opetrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opedator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operdator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opedrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opefator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operfator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opefrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opegator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opergator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opegrator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operqtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaqtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operqator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operwtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operawtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operwator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operstor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operastor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opersator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operxtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaxtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operxator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operztor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaztor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operzator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oper tor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera tor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" oper ator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operetor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operitor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operotor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operutor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera5or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat5or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera5tor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera%or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat%or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera%tor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera6or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat6or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" opera6tor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaror to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatror to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operartor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operayor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatyor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaytor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operafor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatfor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operaftor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operagor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatgor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operagtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operahor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operathor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operahtor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat9r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato9r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat9or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat(r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato(r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat(or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat0r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato0r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operat0or to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatir to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatoir to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatior to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatpr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatopr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatpor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatkr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatokr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatkor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatlr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatolr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatlor to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatar to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operater to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatur to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato4 to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator4 to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato4r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato$ to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator$ to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato$r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato5 to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator5 to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operato5r to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatoe to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatore to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatoer to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatot to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatort to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatotr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatod to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatord to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatodr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatof to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatorf to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatofr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatog to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatorg to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operatogr to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator 5o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t5o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator 5to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator %o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t%o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator %to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator 6o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t6o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator 6to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator ro concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tro concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator rto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator yo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tyo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator yto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator fo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tfo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator fto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator go concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tgo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator gto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator ho concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tho concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator hto concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t9 concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to9 concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t9o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t( concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to( concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t(o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t0 concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to0 concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator t0o concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator ti concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator toi concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tio concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tp concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator top concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tpo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tk concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tok concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tko concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tl concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tol concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tlo concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator ta concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator te concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator tu concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to soncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to csoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to sconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to doncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cdoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to dconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to foncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cfoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to fconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to xoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cxoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to xconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to voncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cvoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to vconcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c9ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to co9ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c9oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c(ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to co(ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c(oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c0ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to co0ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to c0oncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cincatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to coincatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cioncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cpncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to copncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cponcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to ckncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cokncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to ckoncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to clncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to colncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cloncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cancatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cencatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cuncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cogcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to congcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cogncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cohcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conhcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cohncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cojcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conjcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cojncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cobcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conbcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to cobncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to comcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conmcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to comncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to co catenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to con catenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to co ncatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to consatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concsatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conscatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to condatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concdatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to condcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to confatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concfatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to confcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conxatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concxatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conxcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to convatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concvatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to convcatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to con atenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conc atenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to con catenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concqtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaqtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concqatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concwtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concawtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concwatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concstenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concastenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concsatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concxtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaxtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concxatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concztenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaztenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conczatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conc tenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca tenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conc atenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concetenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concitenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concotenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concutenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca5enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat5enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca5tenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca%enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat%enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca%tenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca6enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat6enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to conca6tenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concarenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatrenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concartenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concayenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatyenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaytenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concafenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatfenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaftenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concagenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatgenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concagtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concahenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concathenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concahtenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat3nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concate3nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat3enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat#nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concate#nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat#enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat4nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concate4nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concat4enate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatwnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatewnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatwenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatrnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaternate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatrenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatsnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatesnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatsenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatdnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatednate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatdenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatfnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatefnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatfenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatanate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatinate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatonate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatunate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concategate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatengate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concategnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatehate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenhate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatehnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatejate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenjate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatejnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatebate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenbate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatebnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatemate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenmate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatemnate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concate ate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaten ate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concate nate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenqte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenaqte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenqate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenwte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenawte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenwate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenste strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenaste strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatensate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenxte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenaxte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenxate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenzte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenazte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenzate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaten te strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena te strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concaten ate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenete strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenite strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenote strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenute strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena5e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat5e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena5te strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena%e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat%e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena%te strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena6e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat6e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatena6te strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenare strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatre strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenarte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenaye strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatye strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenayte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenafe strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatfe strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenafte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenage strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatge strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenagte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenahe strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenathe strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenahte strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat3 strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate3 strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat3e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat# strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate# strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat#e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat4 strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate4 strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenat4e strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatw strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatew strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatwe strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatr strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenater strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatre strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenats strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenates strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatse strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatd strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenated strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatde strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatf strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatef strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatfe strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenata strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenati strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenato strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenatu strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate qtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sqtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate qstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate wtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate swtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate wstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate etrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate setrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate estrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate atrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate satrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate astrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate dtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sdtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate dstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate ztrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sztrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate zstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate xtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sxtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate xstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate ctrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sctrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate cstrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s5rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st5rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s5trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s%rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st%rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s%trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s6rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st6rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate s6trings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate srrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate srtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate syrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate styrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sytrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sfrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stfrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sftrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sgrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stgrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sgtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate shrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sthrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate shtrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st4ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str4ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st4rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st$ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str$ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st$rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st5ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str5ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate st5rings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate steings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate streings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sterings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sttings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strtings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate sttrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stdings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strdings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stdrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stfings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strfings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stfrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stgings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strgings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stgrings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str8ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stri8ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str8ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str*ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stri*ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str*ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str9ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stri9ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate str9ings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strungs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate striungs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate struings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strongs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate striongs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stroings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strjngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strijngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strjings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strkngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strikngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strkings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strlngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strilngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strlings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strangs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strengs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate striggs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strigngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strihgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinhgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strihngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strijgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinjgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strijngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stribgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinbgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stribngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strimgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinmgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strimngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stri gs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strin gs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stri ngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinrs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringrs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinrgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strints. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringts. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strintgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinys. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringys. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinygs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinfs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringfs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinfgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinhs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringhs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinhgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinvs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringvs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinvgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinbs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringbs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinbgs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinns. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringns. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strinngs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strin s. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate string s. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strin gs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringq. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsq. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringqs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringw. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsw. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringws. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringe. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringse. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringes. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringa. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsa. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringas. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringd. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsd. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringds. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringz. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsz. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringzs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringx. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsx. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringxs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringc. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsc. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringcs. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate string . Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings . Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate string s. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsk Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.k Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsk. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsl Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.l Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate stringsl. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings' Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings.' Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings'. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. jemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. mjemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. jmemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. kemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. mkemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. kmemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. lemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. mlemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. lmemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. nemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. mnemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. nmemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. m emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M3mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Me3mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M3emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M#mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Me#mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M#emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M4mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Me4mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. M4emory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mwmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mewmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mwemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mrmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mermory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mremory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Msmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mesmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Msemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mdmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Medmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mdemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mfmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mefmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mfemory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mamory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mimory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Momory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mumory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mejory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memjory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mejmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mekory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memkory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mekmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Melory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memlory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Melmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Menory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memnory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Menmory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Me ory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem ory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Me mory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem9ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo9ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem9ory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem(ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo(ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem(ory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem0ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo0ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mem0ory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memiry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoiry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memiory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mempry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memopry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Mempory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memkry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memokry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memkory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memlry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memolry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memlory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memary // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memery // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memury // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo4y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor4y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo4ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo$y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor$y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo$ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo5y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor5y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memo5ry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoey // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorey // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoery // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoty // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorty // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memotry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memody // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memordy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memodry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memofy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorfy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memofry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memogy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorgy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memogry // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor6 // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory6 // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor6y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor^ // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory^ // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor^y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor7 // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory7 // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memor7y // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memort // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryt // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorty // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoru // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryu // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoruy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorg // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryg // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorgy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorh // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryh // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorhy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorj // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memoryj // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memorjy // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory .. management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory /.. management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory ../ management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // janagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mjanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // jmanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // kanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mkanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // kmanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // lanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mlanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // lmanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // nanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mnanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // nmanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // anagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // m anagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // management for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mqnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // maqnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mqanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mwnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mawnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mwanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // msnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // masnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // msanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mxnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // maxnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mxanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mznagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // maznagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mzanagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // m nagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // ma nagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // m anagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // menagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // minagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // monagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // munagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // magagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mangagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // magnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mahagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manhagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mahnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // majagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manjagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // majnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mabagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manbagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mabnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mamagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manmagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mamnagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // ma agement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // man agement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // ma nagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manqgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaqgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manqagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manwgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manawgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manwagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mansgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manasgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mansagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manxgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaxgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manxagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manzgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manazgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manzagement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // man gement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mana gement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // man agement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manegement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manigement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manogement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manugement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manarement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managrement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manargement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manatement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managtement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manatgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manayement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managyement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manaygement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manafement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managfement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manafgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manahement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managhement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manahgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manavement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managvement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manavgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manabement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managbement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manabgement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mananement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managnement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manangement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mana ement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag ement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // mana gement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag3ment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manage3ment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag3ement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag#ment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manage#ment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag#ement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag4ment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manage4ment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // manag4ement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managwment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managewment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managwement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managrment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managerment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managrement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managsment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managesment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managsement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managdment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managedment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managdement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managfment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managefment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managfement for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managament for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managiment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managoment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managument for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managejent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemjent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managejment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managekent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemkent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managekment for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managelent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" operator with a string operand will // automatically convert the other operand to a string. message ("You entered: " + x); // Prompt user for a Liana expression. Store it in a // local variable (the type, string, is merely for // documentation.) string expr = ask ("Enter an Expression"); // Evaluate the expression. The return value of "eval" // could be any type. The "source_format" member function // converts any value to its source format (e.g., add // quotes for a string.) The "class_name" member function // return the name of the class of an object/value. // Empty parens can be left off for member function calls. x = eval (expr); message ("The value of " + expr + " is " + x.source_format + " its type is " + x.class_name); // Prompt user for a string. // No declaration needed for "x" (becomes a global variable.) x = ask ("Enter a String"); // Use "+" operator to concatenate strings. Memory // managemlent for string temporaries is automatic. The // "message" function displays a Windows message box. message ("You entered: " + x); // Now x will take on a different type. The "ask_number" // function will return a "real" if the user's input // contains a decimal point or an "int" if no decimal // point. x = ask_number ("Enter a Number"); // The "+" |